package com.iursp.validate.code.model;

import java.awt.image.BufferedImage;
import java.time.LocalDateTime;

/**
 * 
 * @ClassName:  ImageCode   
 * @Description:
 * @author: ruiwu
 * @date:   2018年6月25日 下午6:32:30   
 *
 */
public class ImageCode extends ValidateCode {
    private static final long serialVersionUID = -3157935668300472492L;

    private BufferedImage image;

    public ImageCode(BufferedImage image, String code, int expireIn) {
        super(code, expireIn);
        this.image = image;
    }

    public ImageCode(BufferedImage image, String code, LocalDateTime expireTime){
        super(code, expireTime);
        this.image = image;
    }

	public BufferedImage getImage() {
		return image;
	}

	public void setImage(BufferedImage image) {
		this.image = image;
	}
    
    
}
